const mongoose = require('mongoose');
const Schema = mongoose.Schema;

const UserSchema = new Schema({
  openId: {
    type: String,
    required: true,
    unique: true,
  },
  nickName: String,
  avatarUrl: String,
});

mongoose.model('UserSchema', UserSchema);